/*********************************************************************************************
	??????????????
**********************************************************************************************/
function FormatNumber(srcStr,nAfterDot)
{
	var srcStr,nAfterDot;
	var resultStr,nTen;
	srcStr = ""+ parseFloat(srcStr) +"";
	strLen = srcStr.length;
	dotPos = srcStr.indexOf(".",0);
	if(dotPos == -1)
	{
		resultStr = srcStr+".";
		for (i=0;i<nAfterDot;i++)
		{
			resultStr = resultStr+"0";
		}
		return resultStr;
	}
	else
	{
		if ((strLen - dotPos - 1) >= nAfterDot)
		{
			nAfter = dotPos + nAfterDot + 1;
			nTen =1;
			for(j=0;j<nAfterDot;j++)
			{
				nTen = nTen*10;
			}
			resultStr = Math.round(parseFloat(srcStr)*nTen)/nTen;
			return resultStr;
		}
		else
		{
			resultStr = srcStr;
			for (i=0;i<(nAfterDot - strLen + dotPos + 1);i++)
			{
				resultStr = resultStr+"0";
		}
			return resultStr;
		}
	}
}

function confirmCancel()
{
	if (!confirm("\u786E\u5B9A\u8981\u53D6\u6D88\u5F53\u524D\u64CD\u4F5C\u5E76\u8FD4\u56DE\u5417?")) return;
	else {
		window.history.go(-1);
	}
}
